<?php
declare (strict_types = 1);

namespace app\admin\controller;

use app\admin\logic\IndexLogic;
use app\admin\model\Auth;
use think\facade\View;
use app\BaseController;
use think\facade\Session;
//基本设置
class Index extends BaseController
{
    //首页
    public function index()
    {
        $userId = Session::get('user');
        //菜单列表
        $auth = Auth::getAuth($userId);
        View::assign('auth',$auth);
        return View::fetch();
    }




}
